package Day06;

import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("输入一个数:");
        int a = in.nextInt();
        System.out.println("该数字的绝对值为"+Math.abs(a));
    }
}
